package com.zkca.xf.model.javabean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by li on 2018/10/29.
 */

public class SmokeLbean {
    /**
     * result : 0
     * info : OK
     * totalRow : 18
     * totalpage : 9
     * pageNum : 1
     * pageSize : 2
     * size : 2
     * data : [{"id":783,"did":29,"devId":"A4BA00","alarmTime":1540448411000,"devStatus":2,"createTime":1540448411000,"createUser":"sys","updateTime":1540449900000,"updateUser":"proc","comment":"报警网关:报警 设备号: A4BA00,  房间号: 1","platformId":null,"deptId":7,"deptName":"朝阳区消防大队","unitId":14,"unitName":"北京工人体育场","installPosition":"一层","resultStatus":6,"longitude":116.453565,"latitude":39.937873,"msgType":"0x04","serialNo":"EB","registCode":"11223344","terminalId":"021E08","terminalType":"0A","deviceSub":"1","msgId":"4D26046094284407917743F9BEB251EE","contact":"马磊","telephone":"17310967864","type1":9,"type2":2,"type3":null,"unitAddress":"北京市朝阳区工人体育场北路","longitudeStart":116.518653,"latitudeStart":39.93799},{"id":775,"did":29,"devId":"A4BA00","alarmTime":1540446311000,"devStatus":2,"createTime":1540446311000,"createUser":"sys","updateTime":1540447200000,"updateUser":"proc","comment":"报警网关:报警 设备号: A4BA00,  房间号: 1","platformId":null,"deptId":7,"deptName":"朝阳区消防大队","unitId":14,"unitName":"北京工人体育场","installPosition":"一层","resultStatus":6,"longitude":116.453565,"latitude":39.937873,"msgType":"0x04","serialNo":"E3","registCode":"11223344","terminalId":"021E08","terminalType":"0A","deviceSub":"1","msgId":"E566429A88C84975BCABBE56EE2A39E9","contact":"马磊","telephone":"17310967864","type1":9,"type2":2,"type3":null,"unitAddress":"北京市朝阳区工人体育场北路","longitudeStart":116.518653,"latitudeStart":39.93799}]
     */

    private int result;
    private String info;
    private int totalRow;
    private int totalpage;
    private int pageNum;
    private int pageSize;
    private int size;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getTotalpage() {
        return totalpage;
    }

    public void setTotalpage(int totalpage) {
        this.totalpage = totalpage;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * id : 783
         * did : 29
         * devId : A4BA00
         * alarmTime : 1540448411000
         * devStatus : 2
         * createTime : 1540448411000
         * createUser : sys
         * updateTime : 1540449900000
         * updateUser : proc
         * comment : 报警网关:报警 设备号: A4BA00,  房间号: 1
         * platformId : null
         * deptId : 7
         * deptName : 朝阳区消防大队
         * unitId : 14
         * unitName : 北京工人体育场
         * installPosition : 一层
         * resultStatus : 6
         * longitude : 116.453565
         * latitude : 39.937873
         * msgType : 0x04
         * serialNo : EB
         * registCode : 11223344
         * terminalId : 021E08
         * terminalType : 0A
         * deviceSub : 1
         * msgId : 4D26046094284407917743F9BEB251EE
         * contact : 马磊
         * telephone : 17310967864
         * type1 : 9
         * type2 : 2
         * type3 : null
         * unitAddress : 北京市朝阳区工人体育场北路
         * longitudeStart : 116.518653
         * latitudeStart : 39.93799
         */

        private int id;
        private int did;
        private String devId;
        private long alarmTime;
        private int devStatus;
        private long createTime;
        private String createUser;
        private long updateTime;
        private String updateUser;
        private String comment;
        private Object platformId;
        private int deptId;
        private String deptName;
        private int unitId;
        private String unitName;
        private String installPosition;
        private int resultStatus;
        private double longitude;
        private double latitude;
        private String msgType;
        private String serialNo;
        private String registCode;
        private String terminalId;
        private String terminalType;
        private String deviceSub;
        private String msgId;
        private String contact;
        private String telephone;
        private int type1;
        private int type2;
        private Object type3;
        private String unitAddress;
        private double longitudeStart;
        private double latitudeStart;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getDid() {
            return did;
        }

        public void setDid(int did) {
            this.did = did;
        }

        public String getDevId() {
            return devId;
        }

        public void setDevId(String devId) {
            this.devId = devId;
        }

        public long getAlarmTime() {
            return alarmTime;
        }

        public void setAlarmTime(long alarmTime) {
            this.alarmTime = alarmTime;
        }

        public int getDevStatus() {
            return devStatus;
        }

        public void setDevStatus(int devStatus) {
            this.devStatus = devStatus;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public Object getPlatformId() {
            return platformId;
        }

        public void setPlatformId(Object platformId) {
            this.platformId = platformId;
        }

        public int getDeptId() {
            return deptId;
        }

        public void setDeptId(int deptId) {
            this.deptId = deptId;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public int getUnitId() {
            return unitId;
        }

        public void setUnitId(int unitId) {
            this.unitId = unitId;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public String getInstallPosition() {
            return installPosition;
        }

        public void setInstallPosition(String installPosition) {
            this.installPosition = installPosition;
        }

        public int getResultStatus() {
            return resultStatus;
        }

        public void setResultStatus(int resultStatus) {
            this.resultStatus = resultStatus;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public String getMsgType() {
            return msgType;
        }

        public void setMsgType(String msgType) {
            this.msgType = msgType;
        }

        public String getSerialNo() {
            return serialNo;
        }

        public void setSerialNo(String serialNo) {
            this.serialNo = serialNo;
        }

        public String getRegistCode() {
            return registCode;
        }

        public void setRegistCode(String registCode) {
            this.registCode = registCode;
        }

        public String getTerminalId() {
            return terminalId;
        }

        public void setTerminalId(String terminalId) {
            this.terminalId = terminalId;
        }

        public String getTerminalType() {
            return terminalType;
        }

        public void setTerminalType(String terminalType) {
            this.terminalType = terminalType;
        }

        public String getDeviceSub() {
            return deviceSub;
        }

        public void setDeviceSub(String deviceSub) {
            this.deviceSub = deviceSub;
        }

        public String getMsgId() {
            return msgId;
        }

        public void setMsgId(String msgId) {
            this.msgId = msgId;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String contact) {
            this.contact = contact;
        }

        public String getTelephone() {
            return telephone;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public int getType1() {
            return type1;
        }

        public void setType1(int type1) {
            this.type1 = type1;
        }

        public int getType2() {
            return type2;
        }

        public void setType2(int type2) {
            this.type2 = type2;
        }

        public Object getType3() {
            return type3;
        }

        public void setType3(Object type3) {
            this.type3 = type3;
        }

        public String getUnitAddress() {
            return unitAddress;
        }

        public void setUnitAddress(String unitAddress) {
            this.unitAddress = unitAddress;
        }

        public double getLongitudeStart() {
            return longitudeStart;
        }

        public void setLongitudeStart(double longitudeStart) {
            this.longitudeStart = longitudeStart;
        }

        public double getLatitudeStart() {
            return latitudeStart;
        }

        public void setLatitudeStart(double latitudeStart) {
            this.latitudeStart = latitudeStart;
        }
    }
}
